Two Results on Linear Embeddings of Complete Binary Trees

نویسندگان

  • Marek Chrobak
  • Wojciech Rytter
چکیده

Given a binary tree T with n vertices, we want to embed T onto a given set A of n points on the line so as to minimize the total embedded edge length. Polynomial time algorithms for the two following special cases of this problem can be found in literature: (1) When T is arbitrary but A = f1 : : : ng; (2) When T is a complete binary tree and A is arbitrary. To the best of our knowledge, the complexity of the general problem is open. In this paper we deal with case (2). Bern, Karlo , Raghavan and Schieber presented an algorithm for this case that runs in time O(n5:76) and uses O(n3:2) space. They also considered the naive embedding, which maps the root r of T into the middle point a of A, and then embeds, recursively, the left and right subtrees of r to the left and right of a, respectively. This is equivalent to embedding T from left to right according to the inorder traversal. They prove that this naive algorithm approximates the optimal solution within the factor of 3. The main result of this paper are: (i) the proof that the approximation ratio of this naive algorithm is exactly 7 3 , and (ii) a more e cient algorithm for computing minimum embeddings of complete binary trees. Our algorithm runs in time e O(n1+log 3) = O(n2:59), and uses e O(n) space, where e O(f) = O(f logc n), for some constant c > 0.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Embedding Complete Binary Trees into Star Networks

Abs t rac t . Star networks have been proposed as a possible interconnection network for massively parallel computers. In this paper we investigate embeddings of complete binary trees into star networks. Let G and H be two networks represented by simple undirected graphs. An embedding of G into H is an injective mapping f from the vertices of G into the vertices of H. The dilation of the embedd...

متن کامل

Optimal Dynamic Edge-Disjoint Embeddings of Complete Binary Trees into Hypercubes

The double-rooted complete binary tree is a complete binary tree where the path (of length ) between the children of the root is replaced by a path of length . It is folklore that the double-rooted complete binary tree is a spanning tree of the hypercube of the same size. Unfortunately, the usual construction of an embedding of a double-rooted complete binary tree into the hypercube does not pr...

متن کامل

Embedding of Hypercubes into Complete Binary Trees

We estimate and characterize the edge congestion-sum measure for embeddings of hypercubes into complete binary trees. Our algorithms produce optimal values of sum of edge-congestions in linear time.

متن کامل

Optimal Dynamic Embeddings of Complete Binary Trees into Hypercubes

It is folklore that the double-rooted complete binary tree is a spanning tree of the hypercube of the same size. Unfortunately, the usual construction of an embedding of a double-rooted complete binary tree into a hypercube does not provide any hint on how this embedding can be extended if each leaf spawns two new leaves. In this paper, we present simple dynamic embeddings of double-rooted comp...

متن کامل

Two results of complete on linear embeddings binary trees

Chrobak, M. and W. Rytter, Two results on linear embeddings of comp]ete binary trees, Theoretical Computer Science 136 (1994) 507-526. Given a binary tree Twith n vertices, we want to embed Ton to a given set A ofn points on the line so as to minimize the total embedded edge length. Polynomial-time algorithms for the two following special cases of this problem can be found in the literature: (1...

متن کامل

Combinatorial theorems about embedding trees on the real line

We consider the combinatorial problem of embedding a tree metric into the real line with low distortion. For two special families of trees — the family of complete binary trees and the family of subdivided stars — we provide embeddings whose distortion is provably optimal, up to a constant factor. We also prove that the optimal distortion of a linear embedding of a tree can be arbitrarily low o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 136  شماره 

صفحات  -

تاریخ انتشار 1994